package dev.ideas.funkyj.function;

import dev.ideas.funkyj.tuple.Trio;

/**
*/
public abstract class P3<T1, T2, T3> extends P<Trio<T1, T2, T3>> {
    public abstract boolean apply(T1 t1, T2 t2, T3 t3);

    public final Boolean apply(Trio<T1, T2, T3> trio) { return apply(trio.first(), trio.second(), trio.third()); }
}